package com.project.oj.judge.codesandbox;

import com.project.oj.judge.codesandbox.impl.RemoteCodeSandbox;

public class CodeSandboxFactory {

    public static CodeSandbox newInstance(String type) {
        switch (type) {
            case "remote":
                return new RemoteCodeSandbox();
            default:
                return new RemoteCodeSandbox();
        }
    }
}
